import http from "./index.js";
export default {

  // 登录前获取登录状态码
  getRiskQwState() {
    return http({
      url: `/login/getRiskQwState`,
      method: "get",
    });
  },

  // 企微免密登录
  h5LoginToken(data) {
    return http({
      url: `/report/cockpit/h5LoginToken`,
      method: "post",
      data
    });
  },

  // h5登录鉴权接口
  restData(params) {
    return http({
      url: `/rest/data`,
      method: "get",
      params
    });
  },

  // 其他下拉框
  queryConfigCode(data) {
    return http({
      url: "/config/queryConfigCode",
      method: "post",
      data,
    });
  },

  // 续期n个月继续率(%)
  continueInfoQuery(data) {
    return http({
      url: "/report/cockpit/continueInfoQuery",
      method: "post",
      data,
    });
  },

  // 分公司n个月继续率(%)
  continueCompanyQuery(data) {
    return http({
      url: "/report/cockpit/continueCompanyQuery",
      method: "post",
      data,
    });
  },

  // 渠道n个月继续率(%)
  continueSaleQuery(data) {
    return http({
      url: "/report/cockpit/continueSaleQuery",
      method: "post",
      data,
    });
  },

  // 实收保费
  actuPremQuery(data) {
    return http({
      url: "/report/cockpit/actuPremQuery",
      method: "post",
      data,
    });
  },

  // 驾驶舱消息提醒查詢接口
  indexPutQuery(data) {
    return http({
      url: "/report/cockpit/indexPutQuery",
      method: "post",
      data,
    });
  },

}